package com.bgIntlgn.client.entity.warehourse;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

/**
 * 按uid 统计的当前外购数量。
 * 
 * @author jefferent@tom.com
 * 
 */
@View(name = "uid_buys", sqlToCreate = "select bp.uid as uid, sum(bp.total_quantity) as quantity "
		+ "from to_buy_productions as bp"
		+ " group by bp.uid;")
public class UidBuyNum implements Bean {

	private String uid;
	private Long quantity;

	public String getUid() {
		return this.uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
	
	public Long getQuantity() {
		return quantity;
	}

	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

}
